function load(isFirst,page){
	var state = $("#state").val();
	var userId = $("#userId").val();
	var url = "wx/operationWork/search/" +state +"/"+userId;
	$.ajax({
        url: url,
        type: "get",
        data: {
        	"page": page,
    		"pageSize": PAGESIZE
        },
        success: function(response) {
        	response = eval('('+response+')');
			if(isFirst){
				$("#thelist").show();
			}
			if(!isFirst && page == 1){
				$("#thelist").empty();
				myScroll.refresh();
			}
			
			if (response.data.length < PAGESIZE) {
				hasMoreData = false;
				$("#pullUp").hide();
			} else {
				hasMoreData = true;
				$("#pullUp").show();
			}
			
			if(!myScroll){
				myScroll = createScroll();
			}
			
			$.each(response.data, function(key, work) {
				var operation = "<div>操作：<a href='wx/operationWork/distribute/"+userId+"/"+work.id+"' >分配工作</a>";
				if(state == 2 || state == 3){
					operation = "<div>操作：<a href='wx/operationWork/handle/"+userId+"/"+work.id+"' >处理</a>";
				}else if(state == 4){
					operation = "<div>状态：已完成";
				}else if(state == 5){
					operation = "<div>评价级别：" + work.feedbackGrade;
				}
				if(state != 1){
					operation = operation + "&nbsp;&nbsp;<a href='wx/operationWork/lookHandle/"+userId+"/"+work.id+"' >查看处理明细</a>";
				}
				operation = operation + "</div>";
				var html = '<div>编号：' + work.workNo 	
					+'</div><div>描述：'+ work.describe 
					+'</div>'+  operation
					+ '<hr  style="background-color:#000000;border:0;height:1px;"/>';
				$("#thelist").append(html);
			});
			
			myScroll.refresh(); // Remember to refresh when contents are loaded (ie: on ajax completion)
			if (hasMoreData) {
				myScroll.maxScrollY = myScroll.maxScrollY + pullUpOffset;
			} else {
				myScroll.maxScrollY = myScroll.maxScrollY;
			}
			maxScrollY = myScroll.maxScrollY;
        }
   });
}